<template>
  <el-card class="card-search">
    <el-row type="flex">
      <!-- <el-form class="demo-form-inline searchForm"> -->
      <!-- <el-row type="flex"> -->
      <!-- 人员搜索插槽 -->
      <span>
        <slot name="peopleSearch" />
      </span>
      <!-- 角色下拉框 -->
      <span v-if="showSearch">
        <slot name="roleSelect" />
      </span>
      <!-- <el-form-item>
            <el-button type="primary" class="CXButton"><i class="el-icon-search" /> 查询</el-button>
          </el-form-item> -->
      <!-- </el-row> -->
      <!-- </el-form> -->
    </el-row>
  </el-card>
</template>

<script>
export default {
  name: 'Index',
  props: {
    showSearch: {
      type: Boolean,
      default: false
    }

  },
  data() {
    return {

    }
  },

  mounted() {

  },

  methods: {

  }
}
</script>

<style lang="scss" >

.card-search {
  width: 80%;
    margin: 10px;
    .CXButton {
    margin-left:10px ;
}
  }
</style>
